#include "include/rock_ui/rock_ui_plugin_c_api.h"

#include <flutter/plugin_registrar_windows.h>

#include "rock_ui_plugin.h"

void RockUiPluginCApiRegisterWithRegistrar(
    FlutterDesktopPluginRegistrarRef registrar) {
  rock_ui::RockUiPlugin::RegisterWithRegistrar(
      flutter::PluginRegistrarManager::GetInstance()
          ->GetRegistrar<flutter::PluginRegistrarWindows>(registrar));
}
